package com.schoolcloud.social.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 贴吧关注表
 * @TableName soc_bard_follow
 */
@TableName(value ="soc_bard_follow")
@Data
public class SocBardFollow implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer followerId;

    /**
     * 贴吧编号
     */
    private Integer bardId;

    /**
     * 用户编号
     */
    private Integer userId;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
